package com.mifengkong.cygshare.model;

import com.mifengkong.cygshare.bean.CreateOrderBean;
import com.mifengkong.cygshare.bean.KaMaoVipBean;
import com.mifengkong.frtools.http.request.BaseResponse;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by jack on 2018/1/16
 */

public interface CygApi {

    @FormUrlEncoded
    @POST("KamaoVip/getVipConfig")
    Observable<BaseResponse<List<KaMaoVipBean>>> getVipList(@FieldMap Map<String, Object> params);    //vip套餐列表

    @FormUrlEncoded
    @POST("KamaoVip/setOrderMessage")
    Observable<BaseResponse<CreateOrderBean>> setOrderMessage(@FieldMap Map<String, Object> params);    //卡猫vip下单 生成去支付订单

}